package com.mask.thread.pk03;

import com.mask.thread.pk05.MyService;

/**
 * @author hx
 * @since 2021/12/2 2:40 下午
 */

public class MyThread extends Thread{


    @Override
    public void run() {
        int secondValue = (int) (Math.random()* 10000);
        System.out.println(secondValue);
        try {
            Thread.sleep(secondValue);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
